﻿<%@ Page Language="C#" MasterPageFile="~/aspnet/admin/ForValidation.master" AutoEventWireup="true" CodeFile="CX_Iask_Answer.aspx.cs" Inherits="aspnet_admin_bock_Iask_query_answer_CX_Iask_Answer" Title="问题回答显示页面" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<style type="text/css">
<!--
#List_box {
	font-family: "宋体";
	font-size: 9pt;
	color: #0066CC;
	/*background-color: #FFFFFF;*/
	margin: 1px;
	padding: 1px;
	float: none;
	height: auto;
	width: auto;
	border: 1px solid #00FF00;
}
-->
.List_box_query
{
	border: 1px solid #339999;
	height: 450px;
	width: 80%;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
	padding: 5px;
}

.List_box_queryLx {
	height: 30px;
}
.List_box_queryLx span{
	height: 30px;
	margin-left: 75%;
}

.footLi li {
	float: left;
	height: 30px;
	width: 20%;
	list-style-type: none;
}
.List_box_queryContontX
{
	width:75%;
	height:250px;
	margin: 5px;
	padding: 3px;
	border: 1px solid #000000;
	overflow: auto;
}
</style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    &nbsp;<table align="center" border="0" cellpadding="2" cellspacing="1" class="border"
        height="116" width="100%">
        <tr>
            <td align="center" class="topbg" colspan="2" style="height: 30px">
                <strong>爱问管理</strong></td>
        </tr>
        <tr>
            <td class="tdbg" style="width: 223px; height: 27px">
                提示信息:</td>
            <td class="tdbg" style="width: 787px; height: 27px">
                <asp:Label ID="tt" runat="server" CssClass="font-4"></asp:Label><span style="margin-left:70%;" class="hand" onclick="history.back();">返回上一步</span></td>
        </tr>
    </table>
    
    <br /><table align="center" border="0" cellpadding="2" cellspacing="1" class="border" width="100%">
        <tr align="center">
            <td height="30" class="topbg"><strong>添加新江江啊东东</strong></td>
        </tr>
        <tr>
            <td height="27" class="tdbg">&nbsp;</td>
        </tr>
        <tr>
            <td class="tdbg" height="27">
           <div id="List_box">
		        <asp:Repeater ID="querystion" runat="server" OnItemDataBound="querystion_ItemDataBound">
		        <ItemTemplate>
		     <!--问题开始-->
		     <div class="List_box_query">
			   <div class="List_box_queryLx">
			   
			   <div>
                   <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%#Eval("ask_query_id")%>' CssClass="link2" OnClick="delcc">删除</asp:LinkButton>
              </div>
              
			   问题类型:<%#Eval("ask_query_state")%>  <span>问题分数:<%#Eval("ask_query_feng")%> </span>
			   </div>
			   	<div>问题名称:<%#Eval("ask_query_name")%> </div>
				<div  class="List_box_queryContontX">问题内容 <%#Eval("ask_query_cont")%> </div>
			   
			    <div class="footLi">
					<ul>
						<li>提问人:<%#Eval("askuser_id")%> </li>
						<li>查看次数:<%#Eval("ask_query_hit")%> </li>
						<li>问题排序:<%#Eval("ask_query_Sort")%> </li>
					</ul>
				
				</div>
			   </div>
			   
		   <!--问提结束-->
		        
		        </ItemTemplate>
                   </asp:Repeater>

               <asp:Repeater ID="Answer" runat="server"  OnItemDataBound="Answer_ItemDataBound">
               <ItemTemplate>
            		   <!--回答开始-->
		<div class="List_box_query">
			   <div class="List_box_queryLx">
			   
			    <div>
			    <asp:LinkButton ID="LinkButton33" runat="server" CommandArgument='<%#Eval("ask_answer_id")%>' CssClass="link2" OnClick="delccanswer">删除回答</asp:LinkButton>
			    </div>
			   回答类型:<%#Eval("ask_answer_Lx")%>  <span>回答得分:<%#Eval("ask_answer_feng")%> </span>
			   </div>
				<div  class="List_box_queryContontX">回答内容 <%#Eval("ask_answer_cont")%> </div>
			   
			    <div class="footLi">
					<ul>
						<li>回答人:<%#Eval("askuser_id")%> </li>
					</ul>
				
				</div>
			   </div>
			   <!--回答结束-->
		  
               </ItemTemplate>
               </asp:Repeater>
 </div>   
		   
		    </td>
        </tr>
    </table>
  
</asp:Content>

